projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9dedc5
)
Fix a doc comment
author
Matthias Clasen
<mclasen@redhat.com>
Sat, 30 Sep 2017 03:29:33 +0000
(23:29 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Sat, 30 Sep 2017 21:58:23 +0000
(17:58 -0400)
It was missing a return.
gsk/gskrendernodeimpl.c
patch
|
blob
|
history
diff --git
a/gsk/gskrendernodeimpl.c
b/gsk/gskrendernodeimpl.c
index f0c0f02612364cbd17fa2a46168e9efab6c670c9..d560d8a5549de4aa54a353493b28de0cf340074c 100644
(file)
--- a/
gsk/gskrendernodeimpl.c
+++ b/
gsk/gskrendernodeimpl.c
@@
-4003,7
+4003,7
@@
gsk_text_node_deserialize (GVariant *variant,
}
g_variant_iter_free (iter);
- result = gsk_text_node_new (font, glyphs, &color, x, y);
/* FIXME: Avoid copying glyphs */
+ result = gsk_text_node_new (font, glyphs, &color, x, y);
pango_glyph_string_free (glyphs);
pango_font_description_free (desc);
@@
-4035,6
+4035,8
@@
static const GskRenderNodeClass GSK_TEXT_NODE_CLASS = {
* Note that @color may not be used if the font contains
* color glyphs.
*
+ * Returns: a new text node, or %NULL
+ *
* Since: 3.92
*/
GskRenderNode *